package Adapter;

import Adapter.impl.SpecUserServiceAdapter;
import Adapter.impl.UserServiceImpl;
import Adapter.service.SpecUserService;
import Adapter.service.UserService;

/**
 * @author chengjunjie
 * @date 2025-09-10
 */

public class AdapterDemo {

    public static void main(String[] args) {
        UserService userService = new UserServiceImpl();
        SpecUserService specUserService = new SpecUserServiceAdapter(userService);
        System.out.println(specUserService.findJUser());
    }
}
